export interface DataListInterFace {
  label: string;
  value: any;
  disabled?: boolean;
  [key: string]: any;
}
interface CascaderInterFace {
  children?: CascaderInterFace[];
  disabled?: boolean;
  [key: string]: any;
}

export interface SearchFieldListInterFace {
  // input:输入框
  // select:下拉框
  // checkbox:复选框
  // textarea:多行文本框
  // rangePicker:选择开始/结束日期
  // datePicker:单个日期
  labelWidth:number;
  col?:number;
  type: string; // form表单类型
  template?:string;
  label: string; // 字段描述信息
  field: string; // form 对应字段
  isShow?: boolean; // 是否展示
  callback?: (arg0?: any, arg1?: any, arg2?: any) => void;
  dataList?: Array<DataListInterFace> | Array<CascaderInterFace>; // 下拉框/复选框数据集合
  options?: any;
}
export interface SearchInterFace<T> {
  form: T;
  fieldDataList: Array<SearchFieldListInterFace>; // 对应表单属性
}
